home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / Bowers Development / AppMaker 2.0b5 / Examples / ODF / AMSample / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-06-03  |  3.0 KB  |  103 lines  |  [TEXT/CWIE]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. #ifndef FWMENU_K
  14. #include "FWMenu.k"
  15. #endif
  16.  
  17. //-------------------------------------------------------------------------------------
  18. // Uncomment the following three lines, and define them appropriately!!
  19. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  20. // to be 1.  Otherwise define it to be 0.
  21. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  22. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  23. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  24. // define it to be zero.  Note that if your part is scriptable is must support
  25. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  26.  
  27. #define FW_SUPPORTS_EMBEDDING 0
  28. #define FW_SUPPORTS_EXTENSIONS 0
  29. #define FW_SUPPORTS_SCRIPTING 0
  30.  
  31. //-------------------------------------------------------------------------------------
  32. // Icons ID
  33. #define kViewAsIconID         128
  34. #define kAboutIconID         130
  35.  
  36. //-------------------------------------------------------------------------------------
  37. // Strings
  38. #define kAMSamplePartStrings 1000
  39.  
  40. #define kFirstString         1
  41. #define kMacString            2
  42. #define kWinString            3
  43. #define kBlankString        4
  44.  
  45. #ifdef FW_BUILD_MAC
  46. #define kPlatformString     kMacString
  47. #endif
  48. #ifdef FW_BUILD_WIN
  49. #define kPlatformString     kWinString
  50. #endif
  51.  
  52. #define kAMSampleUndoStrings 1001
  53.  
  54. #define kUndoDragTextMsg    1
  55. #define kRedoDragTextMsg    2
  56. #define kUndoDropTextMsg    3
  57. #define kRedoDropTextMsg    4
  58. #define kUndoClearTextMsg    5
  59. #define kRedoClearTextMsg    6
  60. #define kUndoCutTextMsg        7
  61. #define kRedoCutTextMsg        8
  62. #define kUndoPasteTextMsg    9
  63. #define kRedoPasteTextMsg    10
  64.  
  65. //-------------------------------------------------------------------------------------
  66. // Menus 
  67. #define kMenuBar 1024
  68.  
  69. // ----- Command IDs
  70. #define cStuffCommand        FW_kFirstUserCommandID + 0
  71. #define cMoreStuffCommand        FW_kFirstUserCommandID + 1
  72. #define cStillMoreCommand        FW_kFirstUserCommandID + 2
  73.  
  74. //-------------------------------------------------------------------------------------
  75. // About 
  76. #define kAbout                 1024
  77.  
  78. //-------------------------------------------------------------------------------------
  79. // Part Info 
  80. #define kPartInfoID         1024
  81.  
  82. //-------------------------------------------------------------------------------------
  83. // Views
  84. #include "ViewIds.k"
  85.  
  86. //-------------------------------------------------------------------------------------
  87. //     Mac-specific Resources
  88.  
  89. #ifdef FW_BUILD_MAC
  90.  
  91. // ODF Popups use Mac MENU resources for now
  92. #define kBrowseTimeMenuResID     1000
  93. #define kOnlineTimeMenuResID     1001
  94.  
  95. // Background pictures used in the form
  96. #define kFormPict1            130
  97. #define kFormPict2            131
  98.  
  99. #endif // FW_BUILD_MAC
  100.  
  101. #endif
  102.  
  103.